projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa0a25
)
(create_process): Encode the new current dir.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Sep 1997 05:30:58 +0000
(
05:30
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Sep 1997 05:30:58 +0000
(
05:30
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 7d84a7ce74cafbd6877cc3d2cfa03740afaf2613..af7cf2a28fb135f3ac446dd3bac2a8ef201196f9 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-266,6
+266,8
@@
extern int timers_run;
/* Maximum number of bytes to send to a pty without an eof. */
static int pty_max_bytes;
+extern Lisp_Object Vfile_name_coding_system;
+
#ifdef HAVE_PTYS
/* The file name of the pty opened by allocate_pty. */
@@
-1453,6
+1455,9
@@
create_process (process, new_argv, current_dir)
Protect it from permanent change. */
char **save_environ = environ;
+ current_dir
+ = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
+
#ifndef WINDOWSNT
pid = vfork ();
if (pid == 0)